From: Richard M. Stallman Date: Mon, 29 Dec 2003 20:03:05 +0000 (+0000) Subject: (save-buffer-state-x): Use with-no-warnings. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24658 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=0e61f1545a40e7647a595e79a4c0160dbae06eb8;p=emacs.git (save-buffer-state-x): Use with-no-warnings. --- diff --git a/lisp/progmodes/antlr-mode.el b/lisp/progmodes/antlr-mode.el index f3a540fc491..b7bf99efa2e 100644 --- a/lisp/progmodes/antlr-mode.el +++ b/lisp/progmodes/antlr-mode.el @@ -161,7 +161,7 @@ ;; More compile-time-macros (eval-when-compile (defmacro save-buffer-state-x (&rest body) ; similar to EMACS/lazy-lock.el - (let ((modified (gensym "save-buffer-state-x-modified-"))) + (let ((modified (with-no-warnings (gensym "save-buffer-state-x-modified-")))) `(let ((,modified (buffer-modified-p))) (unwind-protect (let ((buffer-undo-list t) (inhibit-read-only t)